﻿<table class="display dataTable">
    <thead>
        <tr role="row">
            <th>Tên hạng</th>
            <th>Mã hạng</th>
            <th>Quản lý</th>
        </tr>
    </thead>
    <tbody>
        @{foreach (var HKS in ViewBag.HKS)
          {
            <tr class="odd">
                <td>
                    <div class="nonDisplay" id="nameH@{@HKS.maHangPhong}">
                        <input type="text" class="tenHangPhong H@{@HKS.maHangPhong}" value="@HKS.tenHangPhong"/>
                    </div>
                    <div id="nameHH@{@HKS.maHangPhong}">@HKS.tenHangPhong</div>
                </td>
                <td>
                    <div class="nonDisplay">
                        <input type="text" class="maHangPhong" value="@HKS.maHangPhong"/>
                    </div>@HKS.maHangPhong</td>
                <td>
                    <div>
                        <img class="editH" id="@HKS.maHangPhong" src="../Images/icon_edit.png">
                        <img class="deleteH" id="@HKS.maHangPhong" src="../Images/icon_delete.png">
                        <img class="save_editH nonDisplay" id="@HKS.maHangPhong" src="../Images/checkmark2.png">
                        <img class="cancel_editH nonDisplay" id="@HKS.maHangPhong" src="../Images/cross.png">
                    </div>
                </td>
            </tr>
          }
        }
    </tbody>
</table>
